#! /bin/sh /usr/share/dpatch/dpatch-run
## 01_libdir.dpatch by LI Daobing <lidaobing@gmail.com>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: No description.

@DPATCH@
diff -urNad lmaze~/CMakeLists.txt lmaze/CMakeLists.txt
--- lmaze~/CMakeLists.txt	2007-03-13 11:28:02.000000000 +0800
+++ lmaze/CMakeLists.txt	2007-06-25 03:19:06.000000000 +0800
@@ -21,13 +21,13 @@
 # Global include directories
 # ------------------------------------------------------------------------------------------------
 INCLUDE_DIRECTORIES (./include)
-LINK_DIRECTORIES    (./lib)
+LINK_DIRECTORIES    (./lib/i386 ./lib/x86_64)
 
 SET(SRC_LMAZE ${SRC_LMAZE} ./src/lmaze.cpp)
 SET(SRC_LMAZESVR ${SRC_LMAZESVR} ./src/lmazesvr.cpp)
 SET(SRC_LMREG ${SRC_LMREG} ./src/lmreg.cpp)
 
-LINK_LIBRARIES (lunarmaze readline ncurses pthread log4cplus boost_filesystem boost_serialization) 
+LINK_LIBRARIES (lunarmaze readline ncurses pthread log4cplus boost_filesystem-mt) 
 
 ADD_EXECUTABLE (lmaze ${SRC_LMAZE})
 ADD_EXECUTABLE (lmazesvr ${SRC_LMAZESVR})
